package com.future.direction.data.bean;

/**
 * Created by zhp on 2019-12-09
 */
public class UserInfoBean extends BaseEntity{


    /**
     * token : eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiIxMzMxMTExMjIyMiIsImV4cCI6MTU3NzE1MjU1NSwiaWF0IjoxNTc1ODU2NTU1fQ._J7z8lHSUVzGVnOuhXzL1KjL51lmBTs96zDdddcM_GBspqL-ahlloBTsgJbQSr7Aw66Glu3jkd3g7-rnFKyRiA
     * user : {"userId":20,"username":"13311112222","nickName":null,"avatar":null,"phone":"13311112222","sex":null,"enabled":true,"createTime":"2019-12-09T01:55:55.884Z"}
     */

    private String token;
    private UserBean user;

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public UserBean getUser() {
        return user;
    }

    public void setUser(UserBean user) {
        this.user = user;
    }

    public static class UserBean extends BaseEntity{
        /**
         * userId : 20
         * username : 13311112222
         * nickName : null
         * avatar : null
         * phone : 13311112222
         * sex : null
         * enabled : true
         * createTime : 2019-12-09T01:55:55.884Z
         */

        private String userId;
        private String username;
        private String nickName;
        private String avatar;
        private String phone;
        private String sex;
        private boolean enabled;
        private String createTime;

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getNickName() {
            return nickName;
        }

        public void setNickName(String nickName) {
            this.nickName = nickName;
        }

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getSex() {
            return sex;
        }

        public void setSex(String sex) {
            this.sex = sex;
        }

        public boolean isEnabled() {
            return enabled;
        }

        public void setEnabled(boolean enabled) {
            this.enabled = enabled;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }
    }
}
